			<fieldset>
				<legend>{__ t="Filters"}</legend>			
				{foreach from=$filters key='column' item='filter'}
					{if isset($filter.event)}{assign var="event" value=$filter.event}{else}{assign var="event" value=""}{/if}
					{if $filter.type=='text'}
					<span class="item">
						<label for="{$column}">{$filter.display}</label><br/>
						<input type='text' id='{$preffix}-{$column}' name='{$column}' {$event} value="{if isset($filter.value)}{$filter.value}{/if}"/>
					</span>
					{elseif $filter.type=='date'}
					<span class="item">
						<label>{$filter.display}</label><br/>
						<label for=''>{__ t='Start'}</label>
						{calendar size=8 name=$column|cat:"_start" id=$preffix|cat:"-"|cat:$column|cat:"_start" value=$filter.value.start}
						<label for=''>{__ t='End'}</label>
						{calendar size=8 name=$column|cat:"_end" id=$preffix|cat:"-"|cat:$column|cat:"_end" value=$filter.value.end}
					</span>
					{elseif $filter.type=='hidden'}
					<span class="item">
						<input type="hidden" name="{$column}" id="{$preffix}-{$column}" value="{$filter.value}"/>
					</span>
					{elseif $filter.type=='radio'}
					<span class="item">
                        <legend>{$filter.display}</legend>
                        {html_radios onClick=$filter.js_function name=$column id=$preffix|cat:'-'|cat:$column options=$filter.values checked=$filter.value separator="<br>"}
					</span>
					{elseif $filter.type=='radio-inline'}
					<span class="item">
                        <legend>{$filter.display}</legend>
                        {html_radios onClick=$filter.js_function name=$column options=$filter.values checked=$filter.value}
					</span>
					{elseif $filter.type=='select'}
					<span class="item">
						<label for="{$column}">{$filter.display}</label><br/>
						<select name="{$column}" id="{$preffix}-{$column}" {$event}>
							{html_options options=$filter.values selected=$filter.value}
						</select>
					</span>
					{elseif $filter.type=='select-multiple'}
					<span class="item">
						<label>{$filter.display}</label><br/>
						<select name="{$column}[]" id="{$preffix}-{$column}" multiple="multiple" size=5 {$event}>
							{if isset($filter.value)}
								{html_options options=$filter.values  selected=$filter.value}
							{else}
								{html_options options=$filter.values}
							{/if}
						</select>
					</span>
					{elseif $filter.type=='checkbox'}
					<span class="item">
						<legend>{$filter.display}</legend>
						{html_checkboxes onClick=$filter.js_function name=$column id=$preffix|cat:'-'|cat:$column options=$filter.values checked=$filter.values separator="<br>"}
					</span>
					{elseif $filter.type=='checkbox-inline'}
					<span class="item">
						<legend>{$filter.display}</legend>
						{html_checkboxes onClick=$filter.js_function name=$column id=$preffix|cat:"-"|cat:$column options=$filter.values checked=$filter.values}
					</span>
					{elseif $filter.type=='numeric-range'}
					<span class="item">
						<label>{$filter.display}</label><br/>
						<label for='{$column|cat:"_min"}'>{__ t='Min'}</label>
						<input size="8" type='text' name='{$column|cat:"_min"}' id='{$preffix}-{$column|cat:"_min"}' {$event}/>
						<label for='{$column|cat:"_max"}'>{__ t='Max'}</label>
						<input size="8" type='text' name='{$column|cat:"_max"}' id='{$preffix}-{$column|cat:"_max"}' {$event}/>
					</span>
					{/if}
				{/foreach}
				<div style="text-align: right">
					<input type="reset" value="{__ t='Reset'}" />
					<button type="button" onclick="report_refresh('{$preffix}')">{__ t='Search'}</button>
				</div>
			</fieldset>